// console.log(process.argv);
rule={
  "type":"敏感词",
  "description":"敏感词",
  "content":[
    // {"word":""}, 敏感词放在这里！支持正则表达式！
  ],
}
function rm(content){
  countdown=rule.content.length;
  for(i=0;i<countdown;i++){
    var word=new RegExp(rule.content[i].word,"gi");
    content=content.replace(word,"***");
  }
  return content
}
function $id(id){
  return document.getElementById(id)
}
// 为NodeJs定制的源代码
console.log(rm(process.argv[2]))